package com.chapter.sample.jvm.methodarea;




/**
 * jkd6/7中
 * -XX：PermSize=10m -XX：MaxPermSize=10m
 *
 * jdk 8
 * -XX：MetaspaceSize=10m -XX：MaxMetaspaceSize=10
 */
public class OOMTest extends ClassLoader {
    public static void main(String[] args) {
        int j = 0;
        try {
            OOMTest test = new OOMTest();
            for (int i = 0; i < 100; i++) {
                //创建ClassWriter对象，用于生成类的二进制字节码
                //ClassWriter classWriter = new ClassWriter(0);
                //指明版本号,修饰符，类名，包名，父类，接口



            }
        }finally {

        }
    }
}